package com.esteel.settlement.pa.packet;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

/**
 *应答包：监管系统－>交易网
 * 查询对账文件密码
 * zhouwentong
 */
@XmlRootElement(name="Result")
@XmlAccessorType(XmlAccessType.FIELD)
public class RspBP1349 extends Answer{

	private static final long serialVersionUID = 2281541749982558943L;
	 //文件名称
	 @XmlElement(name="FileName")
	 @Length(max=32)
	 @NotEmpty
	 private String fileName;
	 //文件密码
	 @XmlElement(name="FilePSW")
	 @Length(max=32)
	 @NotEmpty
	 private String filePSW;
	 //文件存在标志  0：无文件  1：有文件
	 @XmlElement(name="FilePSW")
	 @Length(max=32)
	 @NotEmpty
	 private String fileExist;
	 
	 
	public String getFileName() {
		return fileName;
	}


	public void setFileName(String fileName) {
		this.fileName = fileName;
	}


	public String getFilePSW() {
		return filePSW;
	}


	public void setFilePSW(String filePSW) {
		this.filePSW = filePSW;
	}


	public String getFileExist() {
		return fileExist;
	}


	public void setFileExist(String fileExist) {
		this.fileExist = fileExist;
	}


	@Override
	protected String[] order() {
		String[] args={"fileName","filePSW","fileExist","reserve"};
		return args;
	}

}
